package com.example.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class Orders implements Serializable {
    private Integer orderId;

    private Integer userId;

    private Integer businessId;

    private Date orderDate;

    private BigDecimal orderTotal;

    private Integer daId;

    private Integer orderState;

    //查询订单时关联查询用户，得到的用户数据就可以放在这个user属性中
    private User user;

    //查询订单时关联查询订单详情，得到的详情数据可以放在这个属性中
    private List<Orderdetailet> orderdetailetList;

    public List<Orderdetailet> getOrderdetailetList() {
        return orderdetailetList;
    }

    public void setOrderdetailetList(List<Orderdetailet> orderdetailetList) {
        this.orderdetailetList = orderdetailetList;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getBusinessId() {
        return businessId;
    }

    public void setBusinessId(Integer businessId) {
        this.businessId = businessId;
    }

    public Date getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    public BigDecimal getOrderTotal() {
        return orderTotal;
    }

    public void setOrderTotal(BigDecimal orderTotal) {
        this.orderTotal = orderTotal;
    }

    public Integer getDaId() {
        return daId;
    }

    public void setDaId(Integer daId) {
        this.daId = daId;
    }

    public Integer getOrderState() {
        return orderState;
    }

    public void setOrderState(Integer orderState) {
        this.orderState = orderState;
    }
}